package com.baidu.cleaner.config;

import java.util.ArrayList;
import java.util.List;

public class Table {
	private String name = null;
	private String ecoding = null;
	private boolean empty = false;
	private List<TR> trs = new ArrayList<TR>();

	public Table() {
		super();
	}

	public Table(String name, String ecoding, boolean empty) {
		super();
		this.name = name;
		this.ecoding = ecoding;
		this.empty = empty;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEcoding() {
		return ecoding;
	}

	public void setEcoding(String ecoding) {
		this.ecoding = ecoding;
	}

	public boolean isEmpty() {
		return empty;
	}

	public void setEmpty(boolean empty) {
		this.empty = empty;
	}

	public void addTR(TR tr) {
		this.trs.add(tr);
	}

	public List<TR> getTrs() {
		return trs;
	}

}
